package springtest.pojo;

import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

//@SolrDocument(solrCoreName = "new_core")

//@Document(collection = "IP_ITEM")
public class Ip_item {
	@Field("id_ip_item")
	private String _id;
	@Field("uuid")
	private String uuid;
	@Field("type_ip_item")
	private String type;
	@Field("name_ip_obj")
	private String name;
	@Field("deviceUuid_ip_obj")
	private String deviceUuid;
	@Field("createdTime_ip_obj")
	private Date createdTime;
	@Field("lastModifiedTime_ip_obj")
	private Date lastModifiedTime;

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDeviceUuid() {
		return deviceUuid;
	}

	public void setDeviceUuid(String deviceUuid) {
		this.deviceUuid = deviceUuid;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getLastModifiedTime() {
		return lastModifiedTime;
	}

	public void setLastModifiedTime(Date lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}

	@Override
	public String toString() {
		return "Ip_item [_id=" + _id + ", uuid=" + uuid + ", type=" + type + ", name=" + name + ", deviceUuid="
				+ deviceUuid + ", createdTime=" + createdTime + ", lastModifiedTime=" + lastModifiedTime + "]";
	}

}
